package com.weixing.mall.provider.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.weixing.mall.core.support.auth.SysAuth;
import com.weixing.mall.provider.model.domain.AfterSaleOperation;
import com.weixing.mall.provider.model.dto.AfterSaleOperationDto;
import com.weixing.mall.provider.model.dto.CustomerOperationDto;
import com.weixing.mall.provider.model.query.AfterSaleOperationQuery;
import com.weixing.mall.provider.model.vo.AfterSaleOperationVo;
import com.weixing.mall.provider.model.vo.CustomerDevelopmentTimeVo;
import com.weixing.mall.provider.model.vo.DevelopmentTimeVo;

import java.util.List;

/**
 * <p>
 * 订单模块-售后操作记录表 服务类
 * </p>
 *
 * @author Small
 * @since 2019-11-20
 */
public interface IAfterSaleOperationService extends IService<AfterSaleOperation> {

    List<AfterSaleOperationVo> selectList(AfterSaleOperationQuery afterSaleOperationQuery);
    void save(AfterSaleOperationDto afterSaleOperationDto, Long uid);

    void saveCustomer(CustomerOperationDto customerOperationDto, SysAuth auth);

    DevelopmentTimeVo developmentTime(Long afterSaleId);

    CustomerDevelopmentTimeVo customerDevelopmentTime(Long afterSaleId);
}
